|
|
The Keyboard event is triggered when the user types one of the
selected keys. The runtime's focused element is the only element to
get the event unless it does not have a matching Keyboard event. In
this case, the focused element's container gets the event under the
same conditions.
Options
- ...: A specific visible case sensitive key that you
type in.
- All: Any key.
- Arrow Down: The down arrow key ($1F).
- Arrow Left: The left arrow key ($1C).
- Arrow Right: The right arrow key ($1D).
- Arrow Up: The up arrow key ($1E).
- Backspace: The backspace/delete* key ($08).
- Begin: The home key ($01).
- Delete: The delete/del *key ($7F).
- Digit: Any numerical (0-9) key.
- End: The end key ($19).
- Enter: The enter key ($03).
- Escape: The escape key ($1B).
- Insert: The insert/help* key($05).
- Letter: Any uppercase or lowercase letter key.
- Lowercase: Any lowercase letter key.
- Page Down: The page down key ($0C).
- Page Up: The page up key ($0B).
- Return: The return key ($0D).
- Space: The space key ($20).
- Tab: The tab key ($09).
- Uppercase: Any uppercase letter key.
- * Windows and Macintosh keyboards have different labels for
these keys.
- Element: This event can be used in any model
element.
- Parameters
- Keyboard: A string with the character that triggered
the event.
|